package com.eleme.cart.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 更新购物车条目DTO
 */
@Data
public class CartUpdateDTO {
    @NotBlank(message = "购物车条目ID不能为空")
    private String id;
    @NotNull(message = "数量不能为空")
    private Integer quantity;
} 